<table width="100%" border="0" cellspacing="0" cellpadding="0">

  <tr>
    <td><img src="<?php echo $this->imgUrl  ?>/laptop.gif" width="100%" height="31" /></td>
  </tr>
  <tr>
    <td>
    <table width="100%" id="tablecontent"  >
      <?php 
$tmp=count($this->productFeater);
$product=$this->productFeater;
$j=0;
while($j<$tmp)
{
	
?>
  <tr>
  <?php 
	for($i=0;$i<4;$i++)
	{
		
		if(($j+$i)>=$tmp)
		{
			$i=4;
			break;
		}
		else
		{
		?>
 <td bordercolor="#BFB5C2" id="tdcell2">
    <div class="product">
   <center>
     <p><a href="<?php echo $this->url(array("controller"=>"product","action"=>"descript","getProduct"=>$product[$j+$i]['idSP']),null,true);?>" class="producttitle"><?php echo $product[$j+$i]['TenSP']?></a></p>
     <p>&nbsp;</p>
   </center>
   <table cellspacing="0" cellpadding="0" border="0" width="94%">
   <tbody><tr>
     <td width="43%"><center><a href="<?php echo $this->url(array("controller"=>"product","action"=>"descript","getProduct"=>$product[$j+$i]['idSP']),null,true);?>"><img height="100" border="0" width="129" src="/zendshopping/public/upload/<?php echo $product[$j+$i]['Image'];?>" /></a>
     </center></td>
   </tr>
   <tr>
     <td style="height: 5px;"></td>   </tr>
   <tr>
     <td align="center" width="57%" class="ad"><img height="5" width="9" src="images/arrow2.gif"> <span class="fontkm">Khuyến mãi</span></td>
   </tr>
   <tr>
   <td align="center"><p class="price"><?php echo number_format($product[$j+$i]['Gia'],3);?> VNĐ</p>
     <p class="price">&nbsp;</p></td>
   </tr>
   </tbody></table>
</div>    </td>
     
     <?php 
		}
		
	}
	$j=$j+$i;
     ?>
   </tr>
  
  <?php
  
	 }
  
  ?>

</table></td>
  </tr>
 </table>